*{
    box-sizing: border-box;
    text-decoration: none;
}

a{
    color: #000;
}
html,body{
    margin: 0;
    padding: 0;
}
// 头部区域
#header{
    width: 10rem;
    height: 1.3333rem;
    background-color: #1d6dff;
    padding: 5px;
    .left{
        width: 75%;
        margin-left: 5px;
        padding: 7px 0;
        float: left;
        a{
            display: block;
        }
    }
    img{
        height: .6667rem;
    }
    .right{
        float: right;
        padding: 7px;
        a{
            display: block;
            color: #000;
            img{
                width: .9067rem;
                height: .9067rem;
            }
        }
    }
}
// 搜索区域
#search{
    width: 100%;
    background-color: #fff;
    height: 1.3333rem;
    border-bottom: .1px solid #ccc;
    position: relative;
    .searchbox{
        padding: .2667rem;
        input{
            width: 90%;
            height: .8rem;
            padding-left: 5%;
            border-radius: .4rem;
            border: none;
            background-color: #f1f1f1;
            font-size: .4267rem;
            outline: none;
        }
    }
    .search{
        width: 1.68rem;
        height: .8rem;
        background-color: #1d6dff;
        border-radius: .4rem;
        position: absolute;
        right: .2667rem;
        top: .2667rem;
        border: none;
        text-align: center;
        &::before{
            content: '搜索';
            height: .8rem;
            line-height: .8rem;
            font-size: .4267rem;
            color: #ccc;
            border: none;
        }
    }
}

// 菜单区域
#nav{
    .container{
        padding: 0;
        margin-left: .4rem;
        margin-right: .4rem;
        margin-top: .2667rem;
        overflow: hidden;
      
        .row{
            margin-right: 0.4rem;
             margin-left: 0.4rem;
             display: flex;
             flex-wrap: wrap-reverse;
             .col-xs-3{
                list-style: none;
                height: 2.7619rem;
                width: 2.5rem;
                text-align: center;
                padding: .2667rem;
                width: 25%;
                float: left;
            a{
                background-color: transparent;
                }
                img{
                   
                    height: 1.3333rem;
                    width: 1.3333rem;
                    vertical-align: middle;
                    box-sizing: border-box;
                }
            
            p{
                margin-top:5px;
                color: red
            }
          }
        }
    }
}
//折扣推荐
#discount{
    background: #1d6dff;
    height: .9333rem;
    line-height: .9333rem;
    padding-left: .2667rem;}

    #discount>span {
        text-align: left;
        font-size: .5333rem;
        color: #fff;
        font-weight: bolder;
        float: left;
    }

    #discount>a>img {
        text-align: right;
        float: right;
        height: .5333rem;
        margin-top: .1867rem;
        margin-right: .2667rem;
    }

//  商品
        #product{
            display: block;
            .info{
                padding: 0;
                margin-top: 0;
                 margin-bottom: 0.2667rem;
                li{
                    padding: 0.2667rem 8px;
                    list-style: none;
                    a{
                        display: block;
                    }
                    .imgico{
                        float: left;
                        img{
                            width: 2.6667rem;
                            height: 2.6667rem;
                            padding-right: 0.2667rem;
                            vertical-align: middle;
                        }
                    }
                    .info{
                        padding-left: 2.4rem;
                        h3{
                            color: #333333;
                            word-break: break-all;
                            font-size: 0.4rem;
                            line-height: 0.5067rem;
                            min-height: 1.52rem;
                            text-align: left;
                            font-weight: normal;
                            margin: 0;
                           }
                           .category{
                                color: #ff6c00;
                            }
                    }
                }
                .desc{
                    .times{
                        float: left;
                    }
                }
            }
        }
    #footer {
        .more {
            height: 1.3333rem;
            background-color: #f4f4f4;
            padding: .2667rem;
    
            a {
                display: block;
                font-size: .3467rem;
                line-height: .8rem;
                text-align: center;
                color: #666;
                border-radius: .1333rem;
                border: .0267rem solid #dddddd;
                background-image: linear-gradient(#ffffff, #f4f4f4);
            }
        }
    
        .chart {
            background-color: #1d6dff;
            margin-top: .2667rem;
            margin-bottom: .16rem;
            overflow: hidden;
    
            .chart_in {
                color: #fff;
                display: inline-block;
                font: bolder .48rem/.9333rem "Microsoft soft";
                padding-left: .2667rem;
                float: left;
            }
    
            .more2 {
                float: right;
                line-height: .9333rem;
                padding-right: .2667rem;
    
                img {
                    width: .5333rem;
                    height: .5333rem;
                    margin-top: .2133rem;
                }
            }
        }
    
        .login {
            .container {
                padding-right: .4rem;
                padding-left: .4rem;
                margin-right: auto;
                margin-left: auto;
    
                .row {
                    display: flex;
                    justify-content: space-between;
                    height: .96rem;
                    margin-top: .2667rem;
                    margin-right: -0.4rem;
                    margin-left: -0.4rem;
                    border-top: .0267rem solid #c4c4c4;
                    border-bottom: .0267rem solid #c4c4c4;
    
                    a {
                        display: block;
                        color: #666;
                        float: left;
                        height: .88rem;
                        line-height: .88rem;
                        text-align: center;
                        font-size: .3733rem;
                        border-right: .0267rem solid #c4c4c4;
                    }
    
                    a:nth-of-type(1) {
                        width: 25%;
                    }
    
                    a:nth-of-type(2) {
                        width: 33.33333333%;
                    }
    
                    a:nth-of-type(3) {
                        width: 41.66666667%;
                    }
                }
            }
    
            .content_b {
                text-align: center;
                padding: .2667rem;
    
                p {
                    margin: 0 0 .2667rem 0;
    
                    a {
                        color: #666;
                    }
                }
            }
        }
    }